package com.citywithincity.utils.dataconvert;

import java.sql.Date;

import com.citywithincity.db.interfaces.IValueConvert;

public class Date2UnixTime implements IValueConvert {

	@Override
	public Object convert(Object value) {
		Date date = (Date)value;
		return date.getTime()/1000;
	}

}
